package com.kevin.service.dto;

import com.kevin.service.entity.sub.QuestionAnswer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 分数dto
 *
 * @author wh
 * @date 2023/05/11
 */
@Data
public class ExamAnswerDTO {
    @NotNull
    @ApiModelProperty(value = "分数id")
    private Long scoreId;

    @NotNull
    @ApiModelProperty(value = "问题id")
    private Long questionId;

    @ApiModelProperty(value = "答案列表")
    private List<QuestionAnswer> answer;
}
